package com.yw.cityInfo.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;

@Data
@NoArgsConstructor
@TableName(value = "city")
public class City {
    @Id
    @Schema(description = "内码",name = "id")
    private Integer id; // 内码

    @Schema(description = "城市名",name = "cityName")
    private String cityName; // 城市名
}
